home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
bustanim.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
840b
|
50 lines
/*
* $VER: BustANIM 2.0.0 (22.7.94)
*
* Arexx program for the ImageFX image processing system.
* Written by Thomas Krehbiel
*
* This program will break up an ANIM into a series of colormapped
* image files.
*
*/
OPTIONS RESULTS
GetPrefs LoadPath
path = result
RequestFile '"Select Animation:"' path PATTERN '#?.anim#?'
IF rc ~= 0 THEN EXIT
filename = result
fileonly = FILEREQ.FILE
RequestFile '"Select Output Path For Frames:"' path DIRONLY
IF rc ~= 0 THEN EXIT
outpath = result
IF RIGHT(outpath,1) ~= ':' THEN DO
outpath = outpath || '/'
END
framenum = 1
DO FOREVER
Message 'Busting frame' framenum
LoadMapped filename framenum
IF rc ~= 0 THEN LEAVE
SaveRenderedAs ILBM outpath||fileonly||'.'||RIGHT('00000'||framenum,5)
IF rc ~= 0 THEN LEAVE
framenum = framenum + 1
END
KillMapped
EXIT